# -*- coding: utf-8 -*-
"""
智慧职教MOOC视频下载器 - 自定义异常模块
定义各种自定义异常类，提供更清晰的错误处理
"""


class MOOCDownloaderError(Exception):
    """下载器基础异常类"""
    pass


class BrowserConnectionError(MOOCDownloaderError):
    """浏览器连接异常"""
    pass


class PageLoadTimeoutError(MOOCDownloaderError):
    """页面加载超时异常"""
    pass


class CourseNotFoundError(MOOCDownloaderError):
    """课程未找到异常"""
    pass


class VideoNotFoundError(MOOCDownloaderError):
    """视频未找到异常"""
    pass


class VideoDownloadError(MOOCDownloaderError):
    """视频下载异常"""
    pass


class PaginationError(MOOCDownloaderError):
    """分页处理异常"""
    pass


class ConfigurationError(MOOCDownloaderError):
    """配置错误异常"""
    pass 